/**
 * @copyright   2010-2017, The Titon Project
 * @license     http://opensource.org/licenses/BSD-3-Clause
 * @link        http://titon.io
 */

@include export("breadcrumb") {
    #{generate-class-name($titon-breadcrumb)} {
        ol {
            @extend %placeholder-list;
            display: flex;
        }

        li {
            position: relative;

            &:last-child {
                .caret {
                    display: none;
                }
            }
        }
    }

    #{generate-class-name($titon-breadcrumb, "item")} {
        @include size-medium;
        display: inline-block;

        .caret {
            vertical-align: middle;
        }
    }
}
